class AddTaKanBean {
  int? id;
  int? customerInfoId;
  int? saveOrSubmit;
  String? userName;
  String? phoneNumber;
  String? surveyMethod;
  String? address;
  String? addressLongitude;
  String? addressLatitude;
  String? surveyDate;
  String? remarks;
  String? areaName;
  String? areaCapacity;
  String? areaDistance;
  List<int>? roughSketch;
  List<int>? surveySheet;
  List<int>? gatePhoto;
  List<int>? panoramicPhoto;
  List<int>? oppositeAnglesPhoto;
  List<int>? externalDetailPhoto;
  List<int>? other;

  AddTaKanBean(
      {this.id,
      this.customerInfoId,
      this.userName,
      this.phoneNumber,
      this.surveyMethod,
      this.address,
      this.addressLongitude,
      this.addressLatitude,
      this.surveyDate,
      this.remarks,
      this.roughSketch,
      this.gatePhoto,
      this.panoramicPhoto,
      this.oppositeAnglesPhoto,
      this.externalDetailPhoto,
      this.other,
      this.areaName,
      this.areaCapacity,
      this.areaDistance,
      this.saveOrSubmit,
      this.surveySheet});

  AddTaKanBean.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    customerInfoId = json['customerInfoId'];
    userName = json['userName'];
    phoneNumber = json['phoneNumber'];
    address = json['address'];
    addressLongitude = json['addressLongitude'];
    addressLatitude = json['addressLatitude'];
    surveyDate = json['surveyDate'];
    remarks = json['remarks'];
    areaName = json['areaName'];
    areaCapacity = json['areaCapacity'];
    areaDistance = json['areaDistance'];
    saveOrSubmit = json['saveOrSubmit'];
    surveySheet = json['surveySheet'];
    if (json['roughSketch'] != null) {
      roughSketch = json['roughSketch'].cast<int>();
    }
    gatePhoto = json['gatePhoto'].cast<int>();
    if (json['panoramicPhoto'] != null) {
      panoramicPhoto = json['panoramicPhoto'].cast<int>();
    }
    if (json['oppositeAnglesPhoto'] != null) {
      oppositeAnglesPhoto = json['oppositeAnglesPhoto'].cast<int>();
    }
    if (json['externalDetailPhoto'] != null) {
      externalDetailPhoto = json['externalDetailPhoto'].cast<int>();
    }
    if (json['other'] != null) {
      other = json['other'].cast<int>();
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['customerInfoId'] = this.customerInfoId;
    data['userName'] = this.userName;
    data['phoneNumber'] = this.phoneNumber;
    data['surveyMethod'] = this.surveyMethod;
    data['address'] = this.address;
    data['addressLongitude'] = this.addressLongitude;
    data['addressLatitude'] = this.addressLatitude;
    data['surveyDate'] = this.surveyDate;
    data['remarks'] = this.remarks;
    data['roughSketch'] = this.roughSketch;
    data['gatePhoto'] = this.gatePhoto;
    data['panoramicPhoto'] = this.panoramicPhoto;
    data['oppositeAnglesPhoto'] = this.oppositeAnglesPhoto;
    data['externalDetailPhoto'] = this.externalDetailPhoto;
    data['other'] = this.other;
    data['areaName'] = this.areaName;
    data['areaCapacity'] = this.areaCapacity;
    data['areaDistance'] = this.areaDistance;
    data['saveOrSubmit'] = this.saveOrSubmit;
    data['surveySheet'] = this.surveySheet;
    return data;
  }
}
